package com.abo.yaas.view.widgets.fields;

import com.vaadin.ui.TextField;

@SuppressWarnings("serial")
public class CustomTextField extends TextField {
    public CustomTextField() {
        super();
        addStyleName("bold");
        addStyleName("align-center");
        setWidth("100%");
        setNullRepresentation("");
        setWriteThrough(false);
        setImmediate(true);

    }

    public CustomTextField(final String caption) {
        this();
        setCaption(caption);
    }
}
